package com.easy.common.bean;

import java.io.Serializable;

/**
 * 缓存
 * @author wyj
 */
public class SessionUser implements Serializable {
	private static final long serialVersionUID = -6419520054707167078L;
	
	private long userId;
	private String userName;
	private String token;
	private String ip;
	private int dbNo;
	private int createTokenTime;
	private int lastRequestTime;
	
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public int getDbNo() {
		return dbNo;
	}
	public void setDbNo(int dbNo) {
		this.dbNo = dbNo;
	}
	public int getCreateTokenTime() {
		return createTokenTime;
	}
	public void setCreateTokenTime(int createTokenTime) {
		this.createTokenTime = createTokenTime;
	}
	public int getLastRequestTime() {
		return lastRequestTime;
	}
	public void setLastRequestTime(int lastRequestTime) {
		this.lastRequestTime = lastRequestTime;
	}
	
}
